home *** CD-ROM | disk | FTP | other *** search
GW-BASIC | 1984-04-14 | 21.5 KB | 27 lines |
- 10 ' TASKPLAN Version 1.0
- 20 '
- 30 ' (C) Copyright 1984 C. Lamar Williams
- 40 ' Williams Software & Services
- 50 ' 1114 Pusateri Way
- 60 ' San Jose, California 95121
- 70 '
- 80 ' TASKPLAN generates an integrated cost/task schedule.
- 90 ' Given the irregular time periods and costs of various overlapping
- 100 ' tasks, TASKPLAN solves for each period's incremental cost and the
- 110 ' cumulative cost.
- 120 '
- 130 CLEAR ,60864,1000 : OPTION BASE 1 : SCREEN 0,0 : WIDTH 80 : CLOSE : KEY OFF : COLOR 0,6,6 : CLS
- 140 DEFINT A,I,J,N,P,R,S,X,F
- 150 DEFDBL C,T,Y
- 160 DEFSTR H,G
- 170 FLD = 0 :FL1 = 0 :FL2 = 0 :FL3 = 0 :FL4 = 0
- 180 BLK$ = " "
- 190 IT = 50 : GIT = "50"
- 200 JP = 60 : GJP = "60"
- 210 DIM BT(IT), ET(IT), CT(IT), CM1(IT), CM2(IT), TT$(IT), Y(IT,JP)
- 220 DIM X(JP), TK(JP), CI(JP), CC(JP), CTM(IT)
- 230 DIM H(79,13)
- 240 GPN = "" : RM$ = "" : CM$ = "" : CM11 = 1 : CM2 = 1 : CM1N$ = ""
- 250 FOR I = 1 TO IT
- 260 TT$(I) = "" :BT(I) = 0
-